<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta charset="utf-8">
	<title>信息类型管理</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<link rel="stylesheet" href="../layui/css/layui.css" media="all">
	<link rel="stylesheet" href="../css/public.css"/>
	<link rel="stylesheet" href="../css/articleManagement.css"/>
</head>
<body>
	<div class="articleType-con">
		<script type="text/html" id="toolbarDemo">
			<button type="button" class="layui-btn layui-bg-blue" id="addartType" lay-event="addartType" lay-filter="addartType">新增信息类型</button>
		</script>

		<table class="layui-hide" name="articleType" id="articleType" lay-filter="articleType"></table>

		<script type="text/html" id="barDemo">
			<a class="layui-btn layui-btn-xs layui-bg-blue" lay-event="edit">编辑</a>
			<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
		</script>
		
		<script type="text/html" id="powerbar">
			<input type="checkbox" name="{{d.typeid}}" value="{{d.typeid}}" title="启用" lay-filter="lockDemo" {{ d.isdelete==false ? 'disabled checked'  : (d.isdelete==true ? 'checked' : '')}}>
		</script>

		<div id="add-artTypeLayer">
			<div class="artTypeLayer">
				<form class="layui-form" action="">
					<div class="layui-form-item">
						<label class="layui-form-label">类型名称:</label>
						<div class="layui-input-block">
							<input type="text" name="typeName" id="typeName"
								lay-verify="typeName" autocomplete="off" placeholder="请输入信息类型名称" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item layui-form-text">
						<label class="layui-form-label">类型描述:</label>
						<div class="layui-input-block">
							<textarea placeholder="请输入信息类型描述" id="description" class="layui-textarea"></textarea>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
	<script src="../js/jquery-3.3.1.js" charset="utf-8"></script>
	<script src="../layui/layui.js" charset="utf-8"></script>
	<script src="../js/articleManagement/articleType.js" charset="utf-8"></script>
</body>
</html>